package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_print_templeteMapper;
import com.business.domain.T_print_templete;

@Service("t_print_templeteService")
@Transactional
public class T_print_templeteService{
	private static Logger log = Logger.getLogger(T_print_templeteService.class.getName());

	@Resource
    private T_print_templeteMapper t_print_templeteMapper;


	public int save(T_print_templete obj){
		 return t_print_templeteMapper.save(obj);
	}

	public int update(T_print_templete obj){
		return t_print_templeteMapper.update(obj);
	}

	public int delete(T_print_templete obj){
		return t_print_templeteMapper.delete(obj);
	}

	public T_print_templete findById(T_print_templete obj){
		return t_print_templeteMapper.findById(obj);
	}

	public List findAll(T_print_templete obj ){
		 return t_print_templeteMapper.findAll(obj);
	}

	public int findCountAll(T_print_templete obj ){
		 return t_print_templeteMapper.findCountAll(obj);
	}
}
